package com.byzk.p2p.admin.user.dto;

import java.util.Date;

/**
 * 用户资金表
 * @author suker.zhou
 *
 */
public class UserAccount {
	
    private Integer id;

    private Integer userId;//用户id

    private Double totalAmount = 0.0;//账户总金额

    private Double totalIncome = 0.0;//账户总收入

    private Double totalExpenses = 0.0;//账户总支出

    private Double balance = 0.0;//可用余额
    
    private Double repayBalance=0.0; //还款充值余额

    private Double freezen = 0.0;//冻结金额

    private Double await = 0.0;//待收金额

    private Double repay = 0.0;//待还金额

    private Double totalRecharge = 0.0;//用户总充值

    private Double totalWithdraw = 0.0;//用户总提现

    private Integer score = 0;//用户积分
    
    private Integer level; //会员等级

    private Double notUsedMoney ; //未使用金额
    
    private Double stayAmount; //待领奖金
    
    private Double takeBonus; //领取的奖金
    
    private Integer maxRewardLevel; //获得最大的奖励等级
    
    private Date createTime;//创建时间
    
    
    public UserAccount(){
    	
    }
    
    public UserAccount(Integer userId){
    	this.userId=userId;
    	this.createTime=new Date();
    }
    
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Double getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(Double totalAmount) {
		this.totalAmount = totalAmount;
	}

	public Double getTotalIncome() {
		return totalIncome;
	}

	public void setTotalIncome(Double totalIncome) {
		this.totalIncome = totalIncome;
	}

	public Double getTotalExpenses() {
		return totalExpenses;
	}

	public void setTotalExpenses(Double totalExpenses) {
		this.totalExpenses = totalExpenses;
	}

	public Double getBalance() {
		return balance;
	}

	public void setBalance(Double balance) {
		this.balance = balance;
	}

	public Double getFreezen() {
		return freezen;
	}

	public void setFreezen(Double freezen) {
		this.freezen = freezen;
	}

	public Double getAwait() {
		return await;
	}

	public void setAwait(Double await) {
		this.await = await;
	}

	public Double getRepay() {
		return repay;
	}

	public void setRepay(Double repay) {
		this.repay = repay;
	}

	public Double getTotalRecharge() {
		return totalRecharge;
	}

	public void setTotalRecharge(Double totalRecharge) {
		this.totalRecharge = totalRecharge;
	}

	public Double getTotalWithdraw() {
		return totalWithdraw;
	}

	public void setTotalWithdraw(Double totalWithdraw) {
		this.totalWithdraw = totalWithdraw;
	}

	public Integer getScore() {
		return score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Double getRepayBalance() {
		return repayBalance;
	}

	public void setRepayBalance(Double repayBalance) {
		this.repayBalance = repayBalance;
	}

	public Double getNotUsedMoney() {
		return notUsedMoney;
	}

	public void setNotUsedMoney(Double notUsedMoney) {
		this.notUsedMoney = notUsedMoney;
	}

	public Double getStayAmount() {
		return stayAmount;
	}

	public void setStayAmount(Double stayAmount) {
		this.stayAmount = stayAmount;
	}

	public Double getTakeBonus() {
		return takeBonus;
	}

	public void setTakeBonus(Double takeBonus) {
		this.takeBonus = takeBonus;
	}

	public Integer getMaxRewardLevel() {
		return maxRewardLevel;
	}

	public void setMaxRewardLevel(Integer maxRewardLevel) {
		this.maxRewardLevel = maxRewardLevel;
	}
	
}